(el-get 'sync '(org2blog))
(require 'org2blog-autoloads)

(setq org2blog/wp-blog-alist
      '(("wordpress"
         :url "http://hujianxin.com/xmlrpc.php"
         :username "hujianxin"
         :default-title "Emacs Post"
         :default-categories ("Tecnology")
         :tags-as-categories nil)
	("localhost"
	 :url "http://localhost/wordpress/xmlrpc.php")))

(setq org2blog/wp-use-sourcecode-shortcode 't)
;; removed light="true"
(setq org2blog/wp-sourcecode-default-params nil)
;; target language needs to be in here
(setq org2blog/wp-sourcecode-langs
      '("actionscript3" "bash" "coldfusion" "cpp" "csharp" "css" "delphi"
        "erlang" "fsharp" "diff" "groovy" "javascript" "java" "javafx" "matlab"
        "objc" "perl" "php" "text" "powershell" "python" "ruby" "scala" "sql"
        "vb" "xml" "sh" "emacs-lisp" "lisp" "lua"))
 
;; this will use emacs syntax higlighting in your #+BEGIN_SRC
;; <language> <your-code> #+END_SRC code blocks.
(setq org-src-fontify-natively t)

(provide 'init-org2blog)
